<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>发送数据</title>
    <head/>

<body>
  //使用超链接向后台发送数据//

<br/>

<a href="/paser01?name=1234">发送参数1</a><br/>
<a href="/paser02?name=1234&pwd=54321">发送参数2</a><br/>

<form action= "/login" method="post">
    <table>
        <tr>
            <td>用户名</td>
            <td><input type="text" name= "username"/></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type= "password" name= "password"/></td>
        </tr>
        <tr>
            <td>年龄</td>
            <td><input type= "text" name= "age"/></td>
        </tr>
        <tr>
            <td><input type= "submit" value= "提交"/></td>
        </tr>
    </table>

</form>
</body>
</html>